import { Abstract } from './abstract.entity';
import { Entity, Column } from 'typeorm';

@Entity()
export class AccessToken extends Abstract {
  @Column({
    nullable: true,
  })
  ticket: string;

  @Column({
    nullable: true,
  })
  suiteAccessToken: string;

  @Column({
    type: 'timestamp',
    nullable: true,
  })
  sTokenCreateAt: Date;

  @Column({
    type: 'timestamp',
    nullable: true,
  })
  sTokenExpiresAt: Date;
}
